<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <!-- import Vue before Element -->
    <script src="https://unpkg.com/vue/dist/vue.js"></script>
    <!-- import JavaScript -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
</head>
<body>
<div id="app">
    <el-dropdown  trigger="click">
      <span class="el-dropdown-link">
        下拉菜单<i class="el-icon-arrow-down el-icon--right"></i>
      </span>
        <el-dropdown-menu slot="dropdown">
            <el-dropdown-item icon="el-icon-goods">黄金糕</el-dropdown-item>
            <el-dropdown-item icon="el-icon-star-on">狮子头</el-dropdown-item>
            <el-dropdown-item icon="el-icon-loading">螺蛳粉</el-dropdown-item>
            <el-dropdown-item icon="el-icon-view">双皮奶</el-dropdown-item>
            <el-dropdown-item icon="el-icon-mobile-phone">蚵仔煎</el-dropdown-item>
        </el-dropdown-menu>
    </el-dropdown>
</div>
</body>
<style>
    .el-dropdown-link {
        cursor: pointer;
        color: #409EFF;
    }
    .el-icon-arrow-down {
        font-size: 12px;
    }
    .demonstration {
        display: block;
        color: #8492a6;
        font-size: 14px;
        margin-bottom: 20px;
    }
</style>

<script>
    new Vue({
        el: '#app'
    })
</script>
</html>
